package com.affectu.study;

import javax.persistence.Entity;

import org.hibernate.validator.Length;
import org.jboss.seam.annotations.Name;

import com.affectu.common.base.EntityBase;

/**
 * Oct 7, 2008
 * 
 * @author daniel nathan
 */
@Entity
@Name("com.affectu.study.paper")
public class Paper extends EntityBase {

	private static final long serialVersionUID = -6815888901819257952L;

	private String link;

	// @Column(columnDefinition = "MEDIUMTEXT")
	@Length(max = 10240)
	private String content;

	private Integer level;

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}
}
